﻿using System;
using System.Configuration;

using SBPweb.Communication.Shared.Library.Contacts;

namespace SBPweb.Communication.Client.Library.Xmpp.Contacts
{

    public partial class ContactManagerConfigurationElement : ConfigurationElement, IContactManagerConfiguration
    {

        #region Property accessors

        [ConfigurationProperty("getContactListWhenConnected", IsRequired = false, DefaultValue = true)]
        public bool GetContactListWhenConnected
        {
            get
            {
                return Convert.ToBoolean(this["getContactListWhenConnected"]);
            }
        }

        #endregion

    }

}